import request from '@/utils/request';
import { stringify } from 'qs';
export default {
    collectShop(payload) {
        return request({
            url: `/api/collectShop?${stringify(payload)}`,
            method: 'post'
        })
    },
    userIsCollectShop(payload){
        return request({
            url: `/api/userIsCollectShop?${stringify(payload)}`,
            method: 'get',
        })
    },
    selectCollectGoods(payload) {
        return request({
            url: `/api/selectCollectGoods?${stringify(payload)}`,
            method: 'get'
        })
    },
    selectCollectShop(payload) {
        return request({
            url: `/api/selectCollectShop?${stringify(payload)}`,
            method: 'get'
        })
    },
    deleteMoreGoods(payload) {
        return request({
            url: `/api/deleteMoreGoods`,
            method: 'delete',
            data: payload
        })
    },
    deleteMoreShop(payload) {
        return request({
            url: `/api/deleteMoreShop`,
            method: 'delete',
            data: payload
        })
    },
};